package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.SysAppPrescriptioninfoMedicine;

/**
 * 方剂与药物关联关系Service接口
 * 
 * @author ruoyi
 * @date 2020-10-11
 */
public interface ISysAppPrescriptioninfoMedicineService {
	/**
	 * 查询方剂与药物关联关系
	 * 
	 * @param id 方剂与药物关联关系ID
	 * @return 方剂与药物关联关系
	 */
	public SysAppPrescriptioninfoMedicine selectSysAppPrescriptioninfoMedicineById(Long id);

	/**
	 * 查询方剂与药物关联关系列表
	 * 
	 * @param sysAppPrescriptioninfoMedicine 方剂与药物关联关系
	 * @return 方剂与药物关联关系集合
	 */
	public List<SysAppPrescriptioninfoMedicine> selectSysAppPrescriptioninfoMedicineList(
			SysAppPrescriptioninfoMedicine sysAppPrescriptioninfoMedicine);

	public List<SysAppPrescriptioninfoMedicine> selectMedicineList(
			SysAppPrescriptioninfoMedicine sysAppPrescriptioninfoMedicine);

	/**
	 * 新增方剂与药物关联关系
	 * 
	 * @param sysAppPrescriptioninfoMedicine 方剂与药物关联关系
	 * @return 结果
	 */
	public int insertSysAppPrescriptioninfoMedicine(SysAppPrescriptioninfoMedicine sysAppPrescriptioninfoMedicine);

	/**
	 * 修改方剂与药物关联关系
	 * 
	 * @param sysAppPrescriptioninfoMedicine 方剂与药物关联关系
	 * @return 结果
	 */
	public int updateSysAppPrescriptioninfoMedicine(SysAppPrescriptioninfoMedicine sysAppPrescriptioninfoMedicine);

	/**
	 * 批量删除方剂与药物关联关系
	 * 
	 * @param ids 需要删除的数据ID
	 * @return 结果
	 */
	public int deleteSysAppPrescriptioninfoMedicineByIds(String ids);

	/**
	 * 删除方剂与药物关联关系信息
	 * 
	 * @param id 方剂与药物关联关系ID
	 * @return 结果
	 */
	public int deleteSysAppPrescriptioninfoMedicineById(Long id);
}
